package com.xncoding.async.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class RedissonCrontroller {

    @Autowired
    @Qualifier("redisTemplate")
    private RedisTemplate redisClient;
    @RequestMapping("test")
    public String simpleGet(){

        return "success";
    }

}
